package edu.ustb.efws.meter.controller.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@ApiModel("导出年报表")
public class YearRepForm {
    @NotNull
    @ApiModelProperty(value = "采集点编号", required = true)
    private Integer positionId;
    @NotNull
    @ApiModelProperty(value = "年", required = true)
    private Integer year;
    @NotBlank
    @ApiModelProperty(value = "图表base64字符", required = true)
    private String chart;

    public Integer getPositionId() {
        return positionId;
    }

    public void setPositionId(Integer positionId) {
        this.positionId = positionId;
    }

    public Integer getYear() {
        return year;
    }

    public void setYear(Integer year) {
        this.year = year;
    }

    public String getChart() {
        return chart;
    }

    public void setChart(String chart) {
        this.chart = chart;
    }
}
